import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible'
import { Area, Button, Calendar, Cell, CellGroup, Col, CountDown, CouponCell, CouponList, DatetimePicker, DropdownItem, DropdownMenu, Empty, Field, Form, Grid, GridItem, Icon, ImagePreview, Lazyload, List, NavBar, Picker, Popup, PullRefresh, Radio, RadioGroup, Row, Search, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeItem, Switch, Tab, Tabbar, TabbarItem, Tabs, Tag, Uploader } from 'vant'
import 'vant/lib/icon/local.css'
import 'moment/locale/zh-cn'
import VueClipboard from 'vue-clipboard2'

Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Popup)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(DatetimePicker)
Vue.use(Col)
Vue.use(Row)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Lazyload)
Vue.use(Button)
Vue.use(Step)
Vue.use(Steps)
Vue.use(Field)
Vue.use(CouponCell)
Vue.use(CouponList)
Vue.use(SubmitBar)
Vue.use(Calendar)
Vue.use(Stepper)
Vue.use(Search)
Vue.use(Area)
Vue.use(Tag)
Vue.use(ImagePreview)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Picker)
Vue.use(PullRefresh)
Vue.use(List)
Vue.use(Empty)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(Form)
Vue.use(Uploader)
Vue.use(CountDown)
Vue.use(Switch)
Vue.use(Sticky)

// 复制剪切板
Vue.use(VueClipboard)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
